package com.ybxx.fees.model;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.apache.commons.lang.StringUtils;

import com.ybxx.core.model.BaseModel;

@Entity
@Table(name="tbl_fees_nqf_record")
public class NqfRecord extends BaseModel {
	@Id
	private String nqfrcode;
	@ManyToOne(targetEntity=Records.class,fetch=FetchType.LAZY)
	@JoinColumn(name="frcode",referencedColumnName="frcode") 
	private Records records;
	private String bsum;
	private String fees;
	private String combined;
	private String payment;
	private String latefines;
	private String depostmonth;
	public String getNqfrcode() {
		return nqfrcode;
	}
	public void setNqfrcode(String nqfrcode) {
		this.nqfrcode = nqfrcode;
	}
	public Records getRecords() {
		return records;
	}
	public void setRecords(Records records) {
		this.records = records;
	}
	public String getBsum() {
		return bsum;
	}
	public void setBsum(String bsum) {
		if(StringUtils.isNotEmpty(bsum)){
			this.bsum = bsum;
		}
	}
	public String getFees() {
		return fees;
	}
	public void setFees(String fees) {
		if(StringUtils.isNotEmpty(fees)){
			this.fees = fees;
		}
	}
	public String getCombined() {
		return combined;
	}
	public void setCombined(String combined) {
		if(StringUtils.isNotEmpty(combined)){
			this.combined = combined;
		}
	}
	public String getPayment() {
		return payment;
	}
	public void setPayment(String payment) {
		if(StringUtils.isNotEmpty(payment)){
			this.payment = payment;
		}
	}
	public String getLatefines() {
		return latefines;
	}
	public void setLatefines(String latefines) {
		if(StringUtils.isNotEmpty(latefines)){
			this.latefines = latefines;
		}
	}
	public String getDepostmonth() {
		return depostmonth;
	}
	public void setDepostmonth(String depostmonth) {
		this.depostmonth = depostmonth;
	}
	
}
